<?php
namespace app\common\component\user_wallet_gold;

class UserWalletGoldModel extends \think\Model {
	protected $table = 'league_user_wallet_gold';

	public function getStatusAttr($value) {
		$status = [
			1 => '<span style="color: red;">充值审核中</span>',
			2 => '<span style="color: orange;">提现审核中</span>',
			3 => '获取分红中',
			4 => '<span style="color: blue;">分红获取结束</span>',
			9 => '提现完成'
		];

		return $status[$value];
	}
}
?>